﻿<%@ Page Language="C#" MasterPageFile="~/Views/Shared/Site.Master" AutoEventWireup="true" Inherits="System.Web.Mvc.ViewPage<Commander.Models.Dashboard.UserDashboardModel>" %>



<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
    Index
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
<h1>Dashboard</h1>

<h2> Welcome <%= Model.UserId %></h2>

<p>Projects</p>
<% foreach(var item in Model.Projects) { %>
=> <%= Html.ActionLink(item.Name, "Project", "Dashboard", new { Name = item.Name })%><br />

<br />

<%} %>
    <div>
    
    </div>
</asp:Content>
